<div #scroller class="endless-list" [ngStyle]="containerStyle"
     (scroll)="scrolling($event)">

    <div *ngIf="(!dataSources || !dataSources.length)" class="no-data">
        <div class="no-data-img">
            <img src="./assets/images/common/icon_nodata.png">
        </div>
        <div class="no-data-txt">
            没有相关数据
        </div>
    </div>

    <div *ngFor="let item of dataSources template: itemTemplate"></div>

    <div class="is-arrival-bottom" [ngClass]="{'bottom':isArriveBottom && dataSources.length && !isLoadingData}">
        到底了
    </div>
    <div class="is-loading-promot" *ngIf="isLoadingData">
        正在加载...
    </div>

</div>
<img ion-fixed (click)="goUp()" class="go-up-icon" *ngIf="showGoUp"
     src="./assets/images/client/client-list/icon_top.png" alt="">
